package com.cnplan.service.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.cnplan.entity.ArcFinUnit;
import com.cnplan.entity.ArcLicBdUp;
import com.cnplan.mapper.ArcLicBdUpMapper;
import com.cnplan.service.ArcLicBdUpService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.session.RowBounds;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ArcLicBdUpServiceImpl implements ArcLicBdUpService {

    @Autowired
    private ArcLicBdUpMapper arcLicBdUpMapper;

    @Override
    public PageInfo findByArcLicBdUp(Map map) {
        PageHelper.startPage(Integer.parseInt(map.get("pageNo").toString()),
                Integer.parseInt(map.get("pageSize").toString()));
        List<ArcLicBdUp> List=arcLicBdUpMapper.findByselectPage();
        PageInfo pageInfo = new PageInfo(List);
        return pageInfo;
    }
}
